package com.whfc.entity.dto.login;

import lombok.Data;
import org.apache.shiro.authc.AuthenticationToken;

/**
 * @author sun_guodong
 * @description
 * @date 2020-07-25
 */
@Data
public class ThirdLoginToken implements AuthenticationToken {

    private String code;

    @Override
    public Object getPrincipal() {
        return code;
    }

    @Override
    public Object getCredentials() {
        return code;
    }
}
